import request from '@/utils/request'

// 查询差异调整列表
export function listCcDiscrepancyAdjustment(query) {
  return request({
    url: '/business/CcDiscrepancyAdjustment/list',
    method: 'get',
    params: query
  })
}

// 查询差异调整详细
export function getCcDiscrepancyAdjustment(id) {
  return request({
    url: '/business/CcDiscrepancyAdjustment/' + id,
    method: 'get'
  })
}

// 新增差异调整
export function addCcDiscrepancyAdjustment(data) {
  return request({
    url: '/business/CcDiscrepancyAdjustment',
    method: 'post',
    data: data
  })
}

// 修改差异调整
export function updateCcDiscrepancyAdjustment(data) {
  return request({
    url: '/business/CcDiscrepancyAdjustment',
    method: 'put',
    data: data
  })
}

// 删除差异调整
export function delCcDiscrepancyAdjustment(id) {
  return request({
    url: '/business/CcDiscrepancyAdjustment/' + id,
    method: 'delete'
  })
}
